package cn.good.mapper;

import cn.good.pojo.Comment;
import java.util.List;

public interface CommentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);
    //根据医生id查询评论列表
    List<Comment> selectListByDoctorId(Long doctorId);

}